package com.lzw.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @auther: lzw
 * @date: 2021/10/7 - 10 - 07 - 20:56
 * @Description: com.lzw.bean
 */

@AllArgsConstructor
@NoArgsConstructor
@Data

public class Users {
    private Integer id;
    private String username;
    private String mobile;
    private boolean type;
    private String email;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date create_time;
    private boolean mg_state;

    private String role_name;
//    private Role role;
}
